package org.edu.isis.bravefox;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;


public class ControlMenu extends Activity {
	Button bJoin;
    Button bRequest;
    Button bDisconnect;
    
    @Override
    public void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);

            setContentView(R.layout.controllermenu);
            
            bJoin = (Button) findViewById(R.id.bJoin);
            bRequest = (Button) findViewById(R.id.bRequest);
            bDisconnect = (Button) findViewById(R.id.bDisconnect);
            
            bJoin.setOnClickListener(new OnClickListener() {
					@Override
					public void onClick(View v) {
						startActivity(new Intent(getApplicationContext(),ControlMenu.class));
					}
            });
            
            bRequest.setOnClickListener(new OnClickListener() {
                    @Override
                    public void onClick(View v) {
                            startActivity(new Intent(getApplicationContext(),ControlMenu.class));
                    }
            });

            bDisconnect.setOnClickListener(new OnClickListener() {
                @Override
                public void onClick(View v) {
                        startActivity(new Intent(getApplicationContext(),ControlMenu.class));
                }
        });
    }
}
